<?php

namespace common\models\course;

use Yii;

/**
 * This is the model class for table "{{%teach_scope}}".
 *
 * @property int $id
 * @property string $apply_id 教师ID
 * @property string $course_category_id 课程类别ID
 * @property string $created_at 创建时间
 * @property string $updated_at 更新时间
 */
class CourseApplyCategory extends \common\base\ActiveRecord {

    use \common\traits\TimestampBehavior;

    /**
     * {@inheritdoc}
     */
    public static function tableName() {
        return '{{%course_apply_category}}';
    }

    /**
     * {@inheritdoc}
     */
    public function rules() {
        return [
            [['apply_id', 'course_category_id', 'created_at', 'updated_at'], 'integer'],
        ];
    }

    /**
     * {@inheritdoc}
     */
    public function attributeLabels() {
        return [
            'id' => 'ID',
            'apply_id' => '申请ID',
            'course_category_id' => '课程类别ID',
            'created_at' => '创建时间',
            'updated_at' => '更新时间',
        ];
    }

}
